

def u_true(x):
    return x**4 * (1 - x)**4


def f(x):
    return 24 * (x**4 + 16 * x**3 * (x - 1) + 36 * x**2 *
                 (x - 1)**2 + 16 * x * (x - 1)**3 + (x - 1)**4)
